export default {
    state: {
        token: '',
        tree: []
    },
    // 同步方法
    mutations: {
        setToken(state, playload) {
            state.token = playload;
        },
        setTree(state, playload) {
            state.tree = playload
        }
    }
}